package things
{
	import flash.display.Sprite;
	
	import things.data.ThingData;
	
	public class Thing extends Sprite
	{
		protected var _data:ThingData;
		public function Thing()
		{
			super();
		}
		public function create(data:ThingData) : void
		{
			if(_data == data){
				return;
			}
			_data = data;
		}
		public function get data() :ThingData
		{
			return _data;
		}
		
		public function dispose() : void
		{
		}	
		public function clickHandler():void
		{
			
		}
		public function rollOutHandler():void
		{
			
		}
		public function rollOverHandler():void
		{
			
		}
	}
}